"""增加测试用的数据"""

from user_app.models import User
from order_app.models import OrderInfo


def add_order():
    """
    增加订单
    :return:
    """
    sundy = User.objects.all()[0]
    OrderInfo.objects.create(order_id='4', user=sundy, total_amount=12)


if __name__ == '__main__':
    add_order()
